<script type="text/javascript">
$(function(){
	$.post("fileEntering/showCardNoUseDetail",showCardNoUseDetail,"json")
})
function showCardNoUseDetail(json){
	if(json.statusCode==DWZ.statusCode.error){
		navTabAjaxDone(json)
	}else{
		var content,totalCount;
		var cardnoGeneratId;
		if(json!=null&&json.length!=0){
			var list=json;
			totalCount=json.length
			$("input[name='cardnoGeneratId']").val(list[0].cardnoGeneratId)
			for(var i=0;i<list.length;i++){
				content+="<tr onmouseover='moveoverMouse(this)' onmouseout='moveoutMouse(this)' align='center'><td>"+
				list[i].cardpCode+"</td><td>"+list[i].startSegmentNo+"</td><td>"+list[i].endSegmentNo+
				"</td><td>"+list[i].num+"</td><td>"+getDate(list[i].crtDate)+"</td></tr>"
			}
		}else{
			totalCount=0;
			content+="<tr><td colspan='3' align='center' >未查询到数据</td></tr>"
		}
		$("#tbodyByCardNoUseDetail").html(content)
		$("#totalCountByCardNoUseDetail").text("共"+totalCount+"条");
		var $p = $("#cardNoUseDetail");
		initUI($p);
	}	
}



</script>

<div class="pageContent" layoutH="38">

	<label>文件序号：</label>
	<input type="text" name="cardnoGeneratId" value="" />	
  <br/><br/>
	<div id="cardNoUseDetail">
		<table class="table" width="100%" layoutH="115 ">
			<thead>
				<tr align="center">
					<th width="20%">卡产品</th>
					<th width="20%">使用开始段</th>
					<th width="20%">使用结束段</th>
					<th width="20%">使用数量</th>
					<th width="20%">使用日期</th>
					
				</tr>
			</thead>
			<tbody id="tbodyByCardNoUseDetail">

			</tbody>
		</table>
	</div>
	<div class="panelBar">
		<div class="pages">
			 <span id="totalCountByCardNoUseDetail">条，共${totalCount}条</span>
		</div>

	</div>
</div>
